import { defineConfig } from "vite";
import project from "./package.json";

// https://vitejs.dev/config/
export default defineConfig({
  build: {
    lib: {
      entry: `./src/${project.name}.ts`,
      name: project.library,
      formats: ["umd"],
    },
    watch: {},
  },
});
